From 6b2c8bfcf16f3a0f1c018c18466e705373c22263 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Thu, 5 Oct 2017 10:23:59 +0100 Subject: [PATCH] HC: Give tooltips a border for contrast on Inverse https://bugzilla.gnome.org/show_bug.cgi?id=769879 --- gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 6154416d89..d03f32009c 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -3092,7 +3092,7 @@ tooltip, border-radius: 5px; background-color: transparentize(black,0.2); //FIXME proper color text-shadow: 0 1px black; -// border: 2px solid $borders_color; gnome shell style? + border: 1px solid $borders_color; } tooltip *, diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css index 10ba7ab3fe..3f8b6f2253 100644 --- a/gtk/theme/HighContrast/gtk-contained-inverse.css +++ b/gtk/theme/HighContrast/gtk-contained-inverse.css @@ -1399,7 +1399,7 @@ infobar { border-width: 0; border-style: none; } .info label:selected, .info label:selected:focus, .info label:selected:hover, .question label:selected, .question label:selected:focus, .question label:selected:hover, .warning label:selected, .warning label:selected:focus, .warning label:selected:hover, .error label:selected, .error label:selected:focus, .error label:selected:hover { background-color: white; } /************ Tooltips * */ -tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; } +tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; border: 1px solid gray; } tooltip *, .tooltip * { padding: 4px; background-color: transparent; color: inherit; } diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css index 365d7b12fb..483026eacf 100644 --- a/gtk/theme/HighContrast/gtk-contained.css +++ b/gtk/theme/HighContrast/gtk-contained.css @@ -1405,7 +1405,7 @@ infobar { border-width: 0; border-style: none; } .info label:selected, .info label:selected:focus, .info label:selected:hover, .question label:selected, .question label:selected:focus, .question label:selected:hover, .warning label:selected, .warning label:selected:focus, .warning label:selected:hover, .error label:selected, .error label:selected:focus, .error label:selected:hover { background-color: #333333; } /************ Tooltips * */ -tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; } +tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; border: 1px solid gray; } tooltip *, .tooltip * { padding: 4px; background-color: transparent; color: inherit; } -- 2.30.2